<%@ tag pageEncoding="UTF-8" trimDirectiveWhitespaces="true"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ attribute name="var" type="java.lang.String" required="true" rtexprvalue="false" %>
<%@ attribute name="value" type="java.lang.Object" required="true" rtexprvalue="true"%>
<%@ variable name-from-attribute="var" alias="result" scope="AT_END"%>

<c:choose>
<c:when test="${value eq 10}">
	<c:set var="result" value="処理依頼中"/>
</c:when>
<c:when test="${value eq 11}">
	<c:set var="result" value="開始時間待ち"/>
</c:when>
<c:when test="${value eq 20}">
	<c:set var="result" value="起動中"/>
</c:when>
<c:when test="${value eq 30}">
	<c:set var="result" value="処理中"/>
</c:when>
<c:when test="${value eq 40}">
	<c:set var="result" value="正常終了"/>
</c:when>
<c:when test="${value eq 41}">
	<c:set var="result" value="対象データ無し"/>
</c:when>
<c:when test="${value eq 42}">
	<c:set var="result" value="警告終了"/>
</c:when>
<c:when test="${value eq 43}">
	<c:set var="result" value="中止"/>
</c:when>
<c:when test="${value ge 44 and value le 49}">
	<c:set var="result" value="異常終了"/>
</c:when>
<c:when test="${value eq 50}">
	<c:set var="result" value="中止依頼中"/>
</c:when>
<c:otherwise>
	<c:set var="result" value="${value}"/>
</c:otherwise>
</c:choose>
